Improved Bounds for Testing Forbidden Order Patterns
نویسندگان
چکیده
A sequence f : {1, . . . , n} → R contains a permutation π of length k if there exist i1 < . . . < ik such that f(ix) < f(iy) iff π(x) < π(y); otherwise, f is said to be π-free. As a simple special case, f is weakly monotone increasing iff it is (2, 1)-free. The problem of (one-sided) testing π-freeness in a sequence (or equivalently, efficiently finding a π-copy in a sequence far from π-freeness), was proposed by Newman, Rabinovich, Rajendraprasad, and Sohler [SODA’17], who mainly focused on the study of several special cases. However, the general problem of understanding the behavior of optimal non-adaptive and adaptive one-sided tests for π-freeness, for any given permutation π, has remained wide open. In this work, we improve the understanding of testing π-freeness, demonstrating several fascinating aspects of this problem in the non-adaptive and the partially-adaptive settings. Some of our results are given below. • For any permutation π of length k ≥ 3, π-freeness has a one-sided non-adaptive ε-test making O(ε− 1 k−1n1− 1 k−1 ) queries. This improves upon the previously known upper bounds for all non-monotone permutations. • The upper bound is tight in both n and ε: Any one-sided non-adaptive test for any permutation π of length k ≥ 3 in which |π−1(1)− π−1(k)| = 1 must make Ω(ε− 1 k−1n1− 1 k−1 ) queries. • This lower bound can be extended to obtain a permutation-dependent lower bound, implying that for most permutations π of length k, an optimal one-sided non-adaptive test requires ε 1 k−Θ(1)n 1 k−Θ(1) queries. Thus, for most permutations, the trivial non-adaptive sample-based one-sided test (making Θ(ε−1/kn1−1/k) queries) is almost optimal! • For any k and 1 ≤ ` ≤ k − 1, there is a permutation of length k requiring Θ̃ε(n) queries. This resolves an open question of Newman et al., who asked whether there exist infinitely many non-monotone permutations that are testable with O(n0.99) queries. • Let π = (1, 3, 2). We obtain lower and upper bounds for (one-sided and two-sided) testing of π-freeness using r rounds of adaptivity, for any constant r, providing the first known example of a natural property that has an adaptivity-hierarchical behavior. This settles an open question of Canonne and Gur [CCC’17]. ∗Blavatnik School of Computer Science, Tel-Aviv University. Email: [email protected]. †Columbia University. Email: [email protected]. Research supported by NSF grants CCF-1115703 and NSF CCF-1319788.
منابع مشابه
About Local Optimum of the Weber Problem on Line with Forbidden Gaps
The location problem of interconnected facilities on the line with forbidden gaps is considered. The located facilities are connected among themselves and with gaps. Location in forbidden gaps is not allowed. It is need to minimize the total cost of connections between facilities and between facilities and gaps. It is known that the initial continuous problem is reduced to series discrete subpr...
متن کاملForbidden Subgraph Bounds for Parallel Repetition and the Density Hales-Jewett Theorem
We study a special kind of bounds (so called forbidden subgraph bounds, cf. Feige, Verbitsky ’02) for parallel repetition of multi-prover games. First, we show that forbidden subgraph upper bounds for r ≥ 3 provers imply the same bounds for the density Hales-Jewett theorem for alphabet of size r. As a consequence, this yields a new family of games with slow decrease in the parallel repetition v...
متن کاملUniversal Structures and the Logic of Forbidden Patterns
We show that forbidden patterns problems, when restricted to some classes of input structures, are in fact constraint satisfaction problems. This contrasts with the case of unrestricted input structures, for which it is known that there are forbidden patterns problems that are not constraint satisfaction problems. We show that if the input comes from a class of connected structures with low tre...
متن کاملNew Bounds on Extremal Numbers in Acyclic Ordered Graphs
This paper is mainly concerned with the upper and lower bound of the number of edges an ordered graph can have avoiding a fixed forbidden ordered subgraph H. The only case where a sharp bound has not been discovered is when H has interval chromatic number 2, where H can be represented as a 0-1 matrix P . Let ex<(n, n, P ) be the maximum weight of an n by n 0-1 matrix avoiding P . When P contain...
متن کاملForbidden patterns and shift systems
The scope of this paper is two-fold. First, to present to the researchers in combinatorics an interesting implementation of permutations avoiding generalized patterns in the framework of discrete-time dynamical systems. Indeed, the orbits generated by piecewise monotone maps on one-dimensional intervals have forbidden order patterns, i.e., order patterns that do not occur in any orbit. The allo...
متن کاملOn Nonlinear Forbidden 0-1 Matrices: A Refutation of a Füredi-Hajnal Conjecture
A 0-1 matrix A is said to avoid a forbidden 0-1 matrix (or pattern) P if no submatrix of A matches P , where a 0 in P matches either 0 or 1 in A. The theory of forbidden matrices subsumes many extremal problems in combinatorics and graph theory such as bounding the length of Davenport-Schinzel sequences and their generalizations, Stanley and Wilf’s permutation avoidance problem, and Turán-type ...
متن کامل